

import request from '@/utils/request'

export function getCockpit(params) {
  return request({
    url: 'api/cockpit',
    method: 'get',
    params
  })
}

export function financeCockpit(params) {
  return request({
    url: 'api/financeCockpit',
    method: 'get',
    params
  })
}

export function monthlySale(params) {
  return request({
    url: 'api/cockpit/cockpitSaleBoard/monthlySale',
    method: 'get',
    params
  })
}

export function monthlyYoy(params) {
  return request({
    url: 'api/cockpit/cockpitSaleBoard/monthlyYoy',
    method: 'get',
    params
  })
}

export function yearlyYoy(params) {
  return request({
    url: 'api/cockpit/cockpitSaleBoard/yearlyYoy',
    method: 'get',
    params
  })
}

export function monthlySum(params) {
  return request({
    url: 'api/cockpit/cockpitSaleBoard/monthlySum',
    method: 'get',
    params
  })
}

export function yearlySum(params) {
  return request({
    url: '/api/cockpit/cockpitSaleBoard/yearlySum',
    method: 'get',
    params
  })
}

export function dropDownList(params) {
  return request({
    url: '/api/cockpit/cockpitSaleBoard/dropDownList',
    method: 'get',
    params
  })
}
//月度库存接口

export function monthlyStock(params) {
  return request({
    url: '/api/cockpit/cockpitStockBoard/monthlyStock',
    method: 'get',
    params
  })
}
//年度库存同比查询

export function yearlyYoyStock(params) {
  return request({
    url: '/api/cockpit/cockpitStockBoard/yearlyYoy',
    method: 'get',
    params
  })
}
//当日库存

export function curStock(params) {
  return request({
    url: '/api/cockpit/cockpitStockBoard/curStock',
    method: 'get',
    params
  })
}
//月度库存对比

export function monthlyYoyStock(params) {
  return request({
    url: '/api/cockpit/cockpitStockBoard/monthlyYoy',
    method: 'get',
    params
  })
}
//月度应收查询

export function monthlyReceive(params) {
  return request({
    url: '/api/cockpit/cockpitReceiveBoard/monthlyReceive',
    method: 'get',
    params
  })
}
//年度应收

export function yearlyYoyReceive(params) {
  return request({
    url: '/api/cockpit/cockpitReceiveBoard/yearlyYoy',
    method: 'get',
    params
  })
}
//当日验收

export function curReceive(params) {
  return request({
    url: '/api/cockpit/cockpitReceiveBoard/curReceive',
    method: 'get',
    params
  })
}
//月份对比

export function monthlyYoyReceive(params) {
  return request({
    url: '/api/cockpit/cockpitReceiveBoard/monthlyYoy',
    method: 'get',
    params
  })
}
